<html>
<meta charset=utf-8>
<head>
<script type="text/javascript"
	src="http://apps.bdimg.com/libs/jquery/2.1.1/jquery.min.js"></script>
</head>
<script type="text/javascript">
/* 	$(function() {

		$('#add').submit(function() {
			var data = new FormData($('#add')[0]);
			console.log(data);
			$.ajax({
				url : '/movie.front/upload/saveUpload',
				type : 'POST',
				data : data,
				dataType : 'JSON',
				cache : false,
				processData : false,
				contentType : false,
				success : function(data) {
					//alert(data);
					alert("UploadFile Success");
				}
			});

			return false;
		});

	}); */
</script>
<body>
	<form action="/movie.front/upload/saveUpload" method="post" enctype="multipart/form-data">
		<input type="file" name="file" /> <input type="submit" value="Submit" />
	</form>
</body>
</html>